package erp.education.server.db.entites.setup.school;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name = "branch_course_mapping")
public class BranchToCourse implements Serializable {

	@Id
	@TableGenerator(name = "branch_course_gen", table = "seq_keys", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "branch_course_gen")
	@Column(name = "mappingId")
	private Long mappingId;
	@Column(name = "branchId")
	private Long branchId;
	@Column(name = "courseId")
	private Long courseId;

	public Long getBranchId() {
		return branchId;
	}

	public void setBranchId(Long branchId) {
		this.branchId = branchId;
	}

	public Long getCourseId() {
		return courseId;
	}

	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}

	public Long getMappingId() {
		return mappingId;
	}

}
